<div class="layui-form ul-form">
    {{# layui.each(d.config.edit, function(index, item){ }}
    {{# if(item.type == 'text'){ }}
    <div class="layui-form-item">
        <label class="layui-form-label">{{item.title}}</label>
        <div class="layui-input-block">
            <input ul-name="other" type="text" name="{{item.name}}" value="{{d.data[item.name]}}" class="layui-input">
        </div>
    </div>
    {{# }else if(item.type == 'layedit'){ }}
    <div class="layui-form-item">
        <label class="layui-form-label">{{item.title}}</label>
        <div class="layui-input-block">
            <textarea layedit style="display: none;" ul-name="other" name="{{item.name}}" class="layui-textarea">{{d.data[item.name]}}</textarea>
        </div>
    </div>
    {{# }else if(item.type == 'textarea'){ }}
    <div class="layui-form-item">
        <label class="layui-form-label">{{item.title}}</label>
        <div class="layui-input-block">
            <textarea textarea  ul-name="other" name="{{item.name}}" class="layui-textarea">{{d.data[item.name]}}</textarea>
        </div>
    </div>
    {{# }else if(item.type == 'time'){ }}
    <div class="layui-form-item">
        <label class="layui-form-label">{{item.title}}</label>
        <div class="layui-input-block">
            <input ul-type-name="time" ul-name="other" type="text" name="{{item.name}}" value="{{d.data[item.name]}}"
                   class="layui-input">
        </div>
    </div>
    {{# }else if(item.type == 'select'){ }}
    <div class="layui-form-item">
        <label class="layui-form-label">{{item.title}}</label>
        <div class="layui-input-block">
            <select ul-name="other" name="{{item.name}}">
                <option value=""></option>
                {{# layui.each(item.value, function(value_index, value_item){ }}
                {{# if(d.data[item.name] == value_index){ }}
                <option selected value="{{value_index}}">{{value_item}}</option>
                {{# }else{ }}
                <option value="{{value_index}}">{{value_item}}</option>
                {{# } }}
                {{# }); }}
            </select>
        </div>
    </div>
    {{# } }}
    {{# }); }}
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button id="ul-other-edit-submit" class="layui-btn layui-btn-primary">立即{{d.config.title}}</button>
        </div>
    </div>
</div>